const toggleTheme = document.querySelector(".toggle-theme");
const currentTheme = document.querySelector(".current-theme");

toggleTheme.addEventListener("click", () => {
  document.documentElement.classList.toggle("dark");

  currentTheme.textContent =
    currentTheme.textContent === "Dark" ? "Light" : "Dark";
});
